package com.javalab._3object_oriented._3abstract;

/**
 * 抽象计算器
 */
public abstract class AbstCaculator {

    public abstract Double calculate(Double a, Double b) throws Exception ;

    public void validate(Double a, Double b) throws Exception {
        System.out.println("校验方法");
    }
}
